from launch import LaunchDescription
from launch_ros.actions import Node
import os


def generate_launch_description():
    param = [
        {
            "interface_name": "can0",
            "device_addr": 8,
            "publish_topic": "imu_data",
        }
    ]
    return LaunchDescription(
        [
            Node(package="imu_sockcan", executable="imu_node", parameters=param),
        ]
    )
